package com.qst.crop.dao;

import com.qst.crop.entity.Reserve;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ReserveDao {
    void insert(Reserve reserve);

    Reserve selectByPrimaryKey(Integer id);

    List<Reserve> selectByReserve(Reserve reserve);

    void deleteByPrimaryKey(Integer id);

    void updateByPrimaryKeySelective(Reserve reserve);
}
